package com.ruoyi.project.ypgl.service.impl;

import com.ruoyi.project.ypgl.domain.YpglSccj;
import com.ruoyi.project.ypgl.domain.YpglYpxx;
import com.ruoyi.project.ypgl.mapper.YpglYpxxMapper;
import com.ruoyi.project.ypgl.service.IYpglYpxxService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class YpglYpxxServiceimpl implements IYpglYpxxService {

    @Autowired
    private YpglYpxxMapper ypglYpxxMapper;


    @Override
    public List<YpglYpxx> selectYpxxList(YpglYpxx ypxx) {
        return ypglYpxxMapper.selectYpxxList(ypxx);
    }

    @Override
    public int insetYpxx(YpglYpxx ypxx) {
        return ypglYpxxMapper.insetYpxx(ypxx);
    }

    @Override
    public YpglYpxx selectYpxxById(Long ypxxId) {
        return ypglYpxxMapper.selectYpxxById(ypxxId);
    }

    @Override
    public int updateYpxx(YpglYpxx ypxx) {
        return ypglYpxxMapper.updateYpxx(ypxx);
    }

    @Override
    public int deleteYpxxByIds(Long[] ypxxIds) {
        return ypglYpxxMapper.deleteYpxxByIds(ypxxIds);
    }
}
